package models

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	Title   string  `gorm:"type:varchar(50)"`
	Content string  `gorm:"type:text"`
	Address string  `gorm:"type:varchar(255)"`
	Price   float64 `gorm:"type:decimal(10,2)"`
}
type Collection struct {
	gorm.Model
	ArticleID int `gorm:"type:int"`
}
